<?php
// +----------------------------------------------------------------------------
// | Tke团队版权所属 [三十年河东三十年河西,莫欺少年穷.!]
// +----------------------------------------------------------------------------
// | Copyright (c) 2014 http://www.itdaodan.com All rights reserved.
// +----------------------------------------------------------------------------
// | Author: fang<fangnengwan@hrbjjhh.com>
// +----------------------------------------------------------------------------
/**
 *@todo 流水订单模型
 +------------------------------------------------------------------------------
 * @version   1.0
 * @since 2015-8-19
 +------------------------------------------------------------------------------
 */
namespace Admin\Model;
use Think\Model\ViewModel;

class OrderPaymentViewModel extends ViewModel{
	public $viewFields = array(
		'OrderPayment' => array('*'),
		'order' => array('shop_id','customer_id','paper_order','order_type','server_order_id','order_status','remark','apply_time','_as'=>'iweb_order','_on' => 'OrderPayment.order_id = iweb_order.order_id'),
	    'shop'=>array('shop_name','conf_category_id','merchant_id', '_on'=>'iweb_order.shop_id=shop.shop_id'),
	);
}